<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Upgrade iRedAPD</title>
        <link rel="stylesheet" type="text/css" href="./css/markdown.css" />
    </head>
    <body>

    <div id="navigation">
    <a href="https://www.iredmail.org" target="_blank">
        <img alt="iRedMail web site"
             src="./images/logo-iredmail.png"
             style="vertical-align: middle; height: 30px;"
             />&nbsp;
        <span>iRedMail</span>
    </a>
    &nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="upgrade-iredapd">Upgrade iRedAPD</h1>
<div class="admonition attention">
<p class="admonition-title">Attention</p>
<ul>
<li>Release Notes are available here: <a href="./iredapd.releases.html">iRedAPD Release Notes</a>.</li>
</ul>
</div>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<ul>
<li>
<p>iRedAPD-4.0 and later releases <strong>require Python 3.5+</strong>, only listed
  distribution releases are qualified to upgrade:</p>
<ul>
<li>CentOS 7 and later</li>
<li>Debian 9 and later</li>
<li>Ubuntu 18.04 and later</li>
<li>FreeBSD with latest ports tree</li>
<li>OpenBSD 6.6 and later</li>
</ul>
</li>
</ul>
<p>If you're running an old Linux/BSD release which doesn't have Python
  3.5+, please stay with iRedAPD-3.6, it's the last release supports Python
  2. if you need to upgrade to iRedAPD-3.6, please follow this upgrade
  tutorial instead: <a href="./upgrade.iredapd.py2.html">Upgrade iRedAPD from v1.4.0 or later releases to v3.6</a>.</p>
</div>
<p>This tutorial describes how to upgrade iRedAPD to the latest stable release on
listed distribution releases listed above.</p>
<p>Run commands below on your iRedMail server:</p>
<pre><code>cd /root
wget -O iRedAPD-5.9.0.tar.gz https://github.com/iredmail/iRedAPD/archive/5.9.0.tar.gz
tar zxf iRedAPD-5.9.0.tar.gz
cd iRedAPD-5.9.0/tools/
bash upgrade_iredapd.sh
</code></pre>
<p>That's all.</p>
<h2 id="see-also">See Also</h2>
<ul>
<li><a href="./manage.iredapd.html">Manage iRedAPD (white/blacklists, greylisting, throttling and more)</a></li>
<li><a href="./srs.html">Enable SRS (Sender Rewriting Scheme) support</a></li>
</ul><div class="footer">
    <p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
</div></body></html>